summaryrefslogtreecommitdiff
path: root/app/[lng]/evcp/(evcp)/(system)/menu-list/page.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'app/[lng]/evcp/(evcp)/(system)/menu-list/page.tsx')
-rw-r--r--app/[lng]/evcp/(evcp)/(system)/menu-list/page.tsx24
1 files changed, 4 insertions, 20 deletions
diff --git a/app/[lng]/evcp/(evcp)/(system)/menu-list/page.tsx b/app/[lng]/evcp/(evcp)/(system)/menu-list/page.tsx
index 5a1f71a5..2cff434e 100644
--- a/app/[lng]/evcp/(evcp)/(system)/menu-list/page.tsx
+++ b/app/[lng]/evcp/(evcp)/(system)/menu-list/page.tsx
@@ -1,9 +1,7 @@
// app/evcp/menu-list/page.tsx
import { Suspense } from "react";
-import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card";
-import { Button } from "@/components/ui/button";
-import { RefreshCw, Settings } from "lucide-react";
+import { Card, CardContent } from "@/components/ui/card";
import { getActiveUsers, getMenuAssignments } from "@/lib/menu-list/servcie";
import { InitializeButton } from "@/lib/menu-list/table/initialize-button";
import { MenuListTable } from "@/lib/menu-list/table/menu-list-table";
@@ -42,7 +40,7 @@ export default async function MenuListPage({ params }: MenuListPageProps) {
<div>
<div className="flex items-center gap-2">
<h2 className="text-2xl font-bold tracking-tight">
- 메뉴 관리
+ {t('menu.information_system.menu_list')}
</h2>
<InformationButton pagePath="evcp/menu-list" />
</div>
@@ -61,21 +59,7 @@ export default async function MenuListPage({ params }: MenuListPageProps) {
}
>
<Card>
- <CardHeader>
- <CardTitle className="flex items-center gap-2">
- <Settings className="h-5 w-5" />
- 메뉴 리스트
- </CardTitle>
- <CardDescription>
- 시스템의 모든 메뉴와 담당자 정보를 확인할 수 있습니다.
- {menusResult.data?.length > 0 && (
- <span className="ml-2 text-sm">
- 총 {menusResult.data.length}개의 메뉴
- </span>
- )}
- </CardDescription>
- </CardHeader>
- <CardContent>
+ <CardContent className="pt-6">
<Suspense fallback={<div className="text-center py-8">로딩 중...</div>}>
<MenuListTable
initialMenus={translatedMenus}
@@ -88,4 +72,4 @@ export default async function MenuListPage({ params }: MenuListPageProps) {
</Shell>
);
-} \ No newline at end of file
+}